package com.mc.designpattern.template.template1;

/**
 * @author fumengchao
 * @ClassName CallBackTest.java
 * @Description TODO
 * @createTime 2021 0727 17:56:00
 */
public class CallBackTest {


    public static void main(String[] args) {
        AClass aClass = new AClass();
        aClass.process(new ICallback() {
            @Override
            public void methodToCallback() {
                System.out.println("测试 callback");
            }
        });
    }
}